import re
import logging
from odoo import fields, api, models, tools, _
from odoo.exceptions import UserError, ValidationError

_logger = logging.getLogger(__name__)


class InheritResUsers(models.Model):
    _inherit = 'res.users'

    wx_user_id = fields.Char('User ID')
    wx_open_id = fields.Char('Open ID')
    wecom_userid = fields.Char('WeCom ID')
    # Selection = [('koyo_factory', '库有本厂'), ('koyo_external_warehouse', '库有外仓')]
    # respondent_unit = fields.Selection(Selection, string='单位名称')


